/*
 * game.cpp
 *
 *  Created on: 12.04.2014
 *      Author: Ralph
 */

#include "game.h"
#include "config.h"

#include "../gfx/renderer.h"

#include <QDebug>

Game::Game() :
    m_renderer( 0 ),
    m_config( 0 )
{
}

Game::~Game()
{
}

bool Game::init()
{
    //load settings

    // init renderer
    m_renderer = new Renderer();
    if ( !m_renderer->init() )
    {
        qDebug() << "failed to init renderer";
        return false;
    }



    return true;
}
